Page 120 - 2629_Devagiri_C-7
P. 120

TEST SHEET


                                                                                           Based on Chapters 4 to 7
                                                                   2


                  A.  Tick ( ) the correct option.
                     1.  Choose the principle that must be followed when nesting tags.

                               (i)  FIFO (First In First Out)           (ii)  LIFO (Last In First Out)

                               (iii)  FILO (First In Last Out)          (iv)  LILO (Last In Last Out)

                     2.  Which of the following is the latest version of HTML?

                               (i)  HTML 2.0                            (ii)  HTML 4.01

                               (iii)  HTML5                             (iv)  XHTML

                     3.  Pick the background property that sets an image as the background of an element.
                               (i)  BACKGROUND-COLOR                    (ii)  BACKGROUND-IMAGE


                               (iii)  BACKGROUND-REPEAT                 (iv)  BACKGROUND-SIZE
                     4.   Select the margin property that sets the space on the top side of an element.

                               (i)  MARGIN-RIGHT                        (ii)  MARGIN-BOTTOM

                               (iii)  MARGIN-TOP                        (iv)  MARGIN-LEFT

                     5.  The order in which program statements are executed is called           .

                                (i)  Compilation                          (ii)  Flow of Control
                               (iii)  Syntax                              (iv)  Debugging

                     6.  If the condition in an if statement is False, then      .

                                (i)  the if block is executed             (ii)  the program stops

                               (iii)  the if block is skipped             (iv)  it gives an error

                     7.  Choose the type of circuit where, if one component stops working, the others continue to function.

                                (i)  Series circuit                       (ii)  Combination circuit

                               (iii)  Open circuit                        (iv)  Parallel circuit
                     8.  Mark the option that the photoresistor in a smart lamp project detects.

                                (i)  Light                                (ii)  Temperature

                               (iii)  Motion                              (iv)  Pressure


                  B.  Write T for true and F for false.
                     1.  The <DOCTYPE HTML> declaration tells the browser that the document is written in HTML5.




                   118
                        Premium Edition-VII
   115   116   117   118   119   120   121   122   123   124   125